package com.wzy.mall.service.admin;


import com.wzy.mall.model.bo.adminBO.OrderByPageBO;
import com.wzy.mall.model.bo.adminBO.OrderChangeBO;
import com.wzy.mall.model.vo.adminVO.OrderInfoVO;
import com.wzy.mall.model.vo.adminVO.OrderLimitVO;

public interface OrderService {

    /**
     *  分页查询订单
     * @param orderByPageBO
     */
    OrderLimitVO findOrderByPage(OrderByPageBO orderByPageBO);

    /**
     *  获取指定ID的订单信息
     * @param id
     * @return
     */
    OrderInfoVO getOrder(String id);

    /**
     *  根据ID删除订单
     * @param id
     * @return
     */
    int deleteOrder(String id);

    /**
     *  修改订单
     * @param orderChangeBO
     * @return
     */
    int updateOrder(OrderChangeBO orderChangeBO);
}
